home *** CD-ROM | disk | FTP | other *** search
Text File | 1993-12-27 | 60.0 KB | 1,789 lines |
- /* C-Net Hacker v4.5 Beta
-
- Original programming/concept by : Patrick Baker
- Modifications for v4.0 by : Bob Maple
- Modifications for v4.5 by : Joseph Barrero
-
- This P-File is authorized to be run on legal, LEGITIMATE C-Net AMIGA
- systems ONLY. It is not authorized to be run on Silicon Valley BBS
- of Colorado. You may modify this however you like for your own use,
- but it can only be re-distributed in it's original form.
-
- Found a bug? Leave EMail to 'Diamond Back' on Future World, or call
- THE FLIPSIDE (305)596-6711.
-
- */
-
- options results;signal on syntax;signal on error;signal on ioerr;signal on halt
-
- save = 'doors:Hacker/' /* Main path for all Hacker files */
- play = save'Players/' /* Where user files are stored */
- misc = save'Misc/' /* BBS intro files, menus, etc.. */
- mess = save'MESSAGES/' /* Inter-User Email */
- phones = save'PHONEs/' /* Where BBS numers are kept */
- bnk = save'BANK/' /* People's banking accounts */
- minbyte= 150000 /* Minimum amount of memory that needs to be free */
- /* at all times during the game */
- BEGIN:
- if storage() < minbyte then do;print;print 'Not enough memory to run the game safely!'
- print 'Either contact your sysop or if this is a multiline BBS, wait for another'
- print 'user to finish playing a game (if applicable) and try again.';exit;end
-
- call open set, (misc'rxx.setup'), 'R';boom=0;do until boom=1;junk=readln(set)
- interpret junk;end;call close set
-
- LOGIN:
- BBSIDENTIFY USER
- temp = result
- parse var temp '"'id'" "'ans
- name = upper(id)
-
- if ~exists(play''name) then do
- print
- print 'Welcome 'NAME'.. You must be a new Hacker.'
- print
- print ' Enter an alias to use in the game:'
- prompt 20 'NORMAL' '-> ';ALIAS = UPPER(result)
- if ALIAS = '' | alias = '###PANIC' then call quickexit
-
- if exists(play'TOTAL') then do;call open file, (play'TOTAL'), 'R';TOTALUSERS = readln(file);call close file;end
- if ~exists(play'TOTAL') then do;call open file, (play'TOTAL'), 'W';call writeln file, 0;call close file;end
-
- if exists(play'ALIASES') then do;call open file, (play'TOTAL'), 'R'
- totalusers = readln(file);call close file;call open file, (play'ALIASES'), 'R'
- do i = 1 to TOTALUSERS;tempa = readln(file);j = readln(file)
- if upper(tempa) = alias then do;print;print 'That alias already exists, pick another.'
- call LOGIN;end;end;call close file;end
-
- print
- print 'Setting up an account...'
-
- call open file, (play'TOTAL'), 'W';TOTALUSERS = TOTALUSERS + 1;call writeln file, TOTALUSERS;call close file
- call open file, (mess''name), 'W';call writeln file, '0';call close file
- call open file, (play''NAME), 'W';call savestats;call close file
-
- if ~exists(play'ALIASES') then do;call open file, (play'ALIASES'), 'W'
- call writeln file, ALIAS;call writeln file, NAME;call close file;end
- else do;call open file, (play'ALIASES'), 'A';call writeln file, ALIAS
- call writeln file, NAME;call close file;end
-
- if exists(play'REALNAMES') then do;call open file, (play'REALNAMES'), 'A'
- call writeln file, NAME;call close file;end
-
- if ~exists(play'REALNAMES') then do;call open file, (play'REALNAMES'), 'W'
- call writeln file, NAME;call close file;end
-
- print
- prompt 1 'YESNO' 'Do you wish to read the instructions of the game? (Y/n) : '
- ans=result;if ans='N' then sendfile misc'sys.docs'
-
- END
- if exists(misc'winners') then do;sendfile misc''winners;prompt 20 'NORMAL' RETURN;cls;end
- call open file, (play'TOTAL'), 'R';TOTALUSERS = readln(file);call close file
- call open file, (play''NAME), 'R';call readstats;call close file
- bg = 0
- call getdate
- call checklplay
- /*if access=23 then call goon*/
- if totalplays < 1 then call goon
- GOON:
- if ~exists(mess''name) then do;call open gag, (mess''name), 'W'
- call writeln gag, '0';call close gag;end
- print 'Welcome back, 'name'.';print;print;print 'Checking for inter-hacker messages..'
- call open file, (MESS''NAME), 'R';messtotal = readln(file)
- if messtotal=0 then do;call close file;call gooon;end
- if messtotal > 0 then do
- print;print 'You have 'messtotal' messages.';prompt 20 'NORMAL' RETURN
- do u = 1 to MESSTOTAL;from=readln(file)
- cls;print 'Transmission #'u', From 'from':'
- do i = 1 to 3;line.i=readln(file);end
- print;print ''line.1';print 'line.2';print 'line.3;prompt 20 'NORMAL' RETURN;end
- print 'End of Messages... ';call close file;end
- call open file, (MESS''NAME), 'W';call writeln file, '0';call close file
-
- GOOON:
- call CONVERSION
-
- if money = 0 & savings < 100 then do
- loan = random(1,250,time('s'))
- print
- print 'You are broke 'alias'! The HAA gives you a loan of $'loan'.'
- money = money + loan;bankmoney = bankmoney - loan
- prompt 20 'NORMAL' RETURN
- end
- LOTTO:
- if money < 2 then do;print;print 'You have no money to play the lotto.';print '';call main;end
- cls;print;print 'Hacker-Lotto:';print 'The hacker lottery costs $72.00 per ticket.'
- print 'You currently have $'money'.00 in your pocket.'
- print;send 'Do you wish to play? (y/N) ';getchar;tempmon=0
- ans = upper(result);if ans = '#' then exit
- if ans ~= 'Y' then do;print 'No';call checkwardial;call MAIN;end;tix=money/2
- if money > 198 then tix=99;if length(tix)=4 then tix=left(tix,2)
- if length(tix)=3 then tix=left(tix,1)
- print "Yes"
- prompt 20 'NORMAL' 'How many tickets (Maximum of 'tix')? '
- numtickets = upper(result)
- if numtickets <= 99 then do
- if numtickets*2 > money then do
- print 'You do not have enough money!';print
- prompt 20 'NORMAL' RETURN
- call MAIN
- end
- print;print
- money = money - numtickets*2
- bankmoney = bankmoney + numtickets*2
- do i = 1 to numtickets
- ranwin = random(1,4,time('s'))
- if ranwin = 1 then do
- moneywon = random(1,100,time('s'))
- print 'Ticket #'left(i,2)' Winner of $'moneywon'';print
- money = money + moneywon;tempmon=tempmon+moneywon
- bankmoney = bankmoney - moneywon
- end
- if ranwin = 2 | ranwin = 3 | ranwin = 4 then do
- print '#'left(i,2)' Loser!'
- end
- end
- end
-
- print;print 'You spent $'numtickets*2'.00 on lottery tickets, and won a total of $'tempmon'.00.'
- temp=tempmon-(numtickets*2);print 'You made a "profit" of $'temp'.00';print
- prompt 20 'NORMAL' return
- call checkwardial
- call MAIN
-
-
- MAIN:
- if mk = '' then mk = 0;if mkused = '' then mkused = 0
- call nc;call conversion
- call open file, (play''NAME), 'W';call savestats;call close file
- call open file, (play''NAME), 'R';call readstats;call close file
- print ""
- prompt 20 'NORMAL' 'SYS:'MAXTURNS-MAINCOUNTER'> '
- ANS=upper(result);call NC
-
- if ANS = 'LAST' then call LASTFIGHTS
- if ANS = 'WHO' then do;bbscommand who;print "";prompt 20 'NORMAL' return;call main;end
- if left(ans,3)='OLM' then do;bbscommand ans;print "";prompt 20 'NORMAL' return;call main;end
- if ANS = 'BANK' then call bank
- if left(ANS,3) = 'HAC' then do;call turns;call HACKOTHER;call main;end
- if ANS = 'SPY' then do;call turns;call SPY;end
- if ANS = 'ENDCLI' then call BEXIT
- if ANS = 'Q' | ans = 'QUIT' then call BEXIT
- if ANS = 'DIR' | ANS = '?' then do; sendfile misc'sys.maindir';print '10 files - 1 directory - 173 blocks - 88342 bytes - 'megs'MB Free';call main;end
- if ANS = 'HAA' then do
- cls;print 'Connecting to the Hackers Association of America....'
- print;print
- call turns
- call HAA
- end
-
- if ANS = 'SCAN' then do;call turns;call scan;call main;end
- if (Access = 23) & (ANS = 'CHECK') then do;wd=1;call checkwardial;call main;end
- if ANS = 'CD DIAL' | ans = 'DIAL' then call DIAL
- if ANS = 'USER' then do;call USERLIST;call MAIN;end
- if ANS = 'TRANS' then do;call SENDMESS;call MAIN;end
- if ANS = 'STATS' then do;call YOURSTATS;call MAIN;end
- print;print 'Unknown command 'ans'.';call MAIN
-
- LASTFIGHTS:
- if ~exists(play'LAST10') then do
- print;print 'No fights yet.. Try fighting another user.';print
- prompt 20 'NORMAL' RETURN;call MAIN
- end
- cls;print;print ' Last 10 User vs. User fight results:';print;sendfile play'last10'
- print "";prompt 20 'NORMAL' RETURN;call MAIN
-
- HACKOTHER:
- cls;print 'Attack another user:';print
- if megs=0 then do;print;print 'Your hard drive is totaled! Fix it first.';print "";prompt 20 'NORMAL' return
- call main;end
- txt='Hack';call listusers;if toget='###' then call main
- call open file, (play''toget),'R'
- call readostats;call close file;oname=toget
-
- if OMEGS = 0 then do
- print 'He is already trashed, try hacking some boards!';print
- prompt 20 'NORMAL' RETURN;call MAIN
- end
-
- CALL OCONVERSION2
-
- otnm = left(otnm,20)
- ODRIVENAME = left(ODRIVENAME,20)
- Stnm = left(tnm,20)
- SDRIVENAME = left(DRIVENAME,20)
-
- if olfght = ALIAS then do
- sendfile misc'sys.hacklaw'
- print "";prompt 20 'NORMAL' RETURN;call MAIN
- end
-
- print;print ''Oalias', 'OMegs' Megs'
- print 'Hardware: 'ODRIVENAME' Software: 'otnm
- print;print ' --VS--';print
- print ''alias', 'megs' Megs'
- print 'Hardware: 'SDRIVENAME' Software: 'Stnm
-
- print;send 'Are you sure you want to fight? (y/N) '
- getchar;ANS = result;if ans='#' then call quickexit
- call NC;if ans ~= 'Y' then call MAIN
- print 'Yes';oldmegs = megs;othermegs = omegs
- call HACKHIM
-
-
- HACKHIM:
- YOURTEMPMEGS = MEGS
- cls;print;print ''OALIAS': 'OMEGS' Megs You: 'MEGS' Megs';print
- print 'No viruses allowed here! This is a fight of power!'
- print;print '[1] Fight [2] Run';print
- prompt 20 'NORMAL' '[1,2] '
- ANS = upper(result);call NC
- if ans = '' | ans='Q' then call HACKHIM
- if ANS = '2' then do
- ranhit = random(1,10,time('s'))
- if ranhit < odrtyp then do
- print;print '&^!@*&%$#*^%(*^%!(*@^%$#*&%$&(^%!@)*#%(&^%$!(@^#%'
- print;print 'Wow! What a blow!'
- dam = random(1,omegs,time('s'));if dam > megs then dam = megs;megs = megs - dam
- if megs < 0 then print;print 'You're WASTED!'
- print;print ''dam' Megs were trashed on your drive!'
- OMONEY = OMONEY + MONEY%2;if MONEY > 1 then MONEY = MONEY%2
- If megs <= 0 then do
-
- txt = ''ALIAS' fought 'OALIAS' on 'DATE' and LOST!'
- call toptensave
-
- oxper = oxper + YOURTEMPMEGS*100
- if ttyp > ottyp then do
- ottyp = ttyp
- if ttyp > 1 then ttyp = ttyp - 1
- if ttyp < 1 then ttyp = 1
- end
- if drty > odrtyp then do
- odrtyp = drty
- if drty > 1 then drty = drty - 1
- if drty < 1 then drty = 1
- end
- if SCA > 1 then do
- OSCA = OSCA + SCA;SCA = SCA%2
- end
- if TROJ > 1 then do
- OTROJ = OTROJ + TROJ;TROJ = TROJ %2
- end
- if BW > 1 then do
- OBW = OBW + BW;BW = BW %2
- end
- end
-
- TOTALLOSS = TOTALLOSS + 1
- otwin = otwin + 1;olfght = ALIAS
- otmcr = otmcr+DAM;call WRITEHIM;call CONVERSION
- end
- TOTALLOSS = TOTALLOSS + 1
- otwin = otwin + 1
- if money > 1 then do
- moneylost = random(1,100,time('s'))
- if moneylost > money then moneylost = money
- money = money - moneylost+10
- OMONEY = OMONEY + MONEYLOST
- print 'You just lost $'moneylost+10'!'
- call WRITEHIM;print ''
- end
- call MAIN
- END
-
- if ANS = '1' then do
- TOHIT = random(1,10,time('s'))
- if TOHIT < ttyp+1 then do
- ydam = random(1,megs,time('s'));if ydam > OMEGS then ydam = OMEGS
- OMEGS = OMEGS - YDAM
- print;print 'You plaster 'YDAM' megs on his drive!'
- if OMEGS <= 0 then do
-
- txt = ''ALIAS' fought 'OALIAS' on 'DATE' and WON!'
- call toptensave
-
- print;print 'He is obliterated!'
- xrp = xrp + othermegs*1000
- money = money + OMONEY%2
- findmoney = omoney%2
- omoney = omoney - OMONEY%2
- print;print 'You get 'othermegs*1000' experience points.'
- if OMONEY > 0 then print 'You find $'FINDMONEY'!'
- if OTROJ > 0 then print 'You find 'OTROJ' Trojans!'
- if OBW > 0 then print 'You find 'OBW' Byte Warriors!'
- if OSCA > 0 then print 'You find 'OSCA' SCAs!'
- send ''
-
- if ottyp > ttyp then do
- ttyp = ottyp
- if ottyp > 1 then ottyp = ottyp - 1
- if ottyp < 1 then ottyp = 1
- end
- if odrtyp > drty then do
- drty = odrtyp
- if odrtyp > 1 then odrtyp = odrtyp - 1
- if odrtyp < 1 then odrtyp = 1
- end
- if OSCA >= 1 then do
- SCA = OSCA + SCA
- OSCA = OSCA%2
- if OSCA <=1 then OSCA = 0
- end
- if OTROJ >= 1 then do
- TROJ = OTROJ + TROJ
- OTROJ = OTROJ %2
- if OTROJ <=1 then OTROJ = 0
- end
- if OBW >= 1 then do
- BW = BW + OBW
- OBW = OBW %2
- if OBW <=1 then OBW = 0
- end
- TOTALWINS = TOTALWINS + 1
- otloss = otloss + 1
- call WRITEHIM
- end
- end
-
- if TOHIT >= ttyp+1 then do
- ranmess = random(1,3,time('s'))
- if ranmess = 1 then print 'You missed him!'
- if ranmess = 2 then print 'He eludes you!'
- if ranmess = 3 then print 'Nothing happens!'
- end
- print ''
- OTOHIT = random(1,10,time('s'))
- if OTOHIT < ottyp+1 then do
- hdam = random(1,Omegs,time('s'))
- if hdam > MEGS then hdam = MEGS
- MEGS = MEGS - hDAM
- print 'He smashes 'hDAM' megs on your drive!'
-
- if MEGS <= 0 then do
-
- txt = ''ALIAS' fought 'OALIAS' on 'DATE' and LOST!'
- call toptensave
-
- send ''
- ranlose = random(1,5,time('s'))
- if ranlose = 1 then print 'You are TOAST!'
- if ranlose = 2 then print 'He over powers you!'
- if ranlose = 3 then print 'You didnt have a chance!'
- if ranlose = 4 then print ALIAS's funeral services are Thursday at 2pm!'
- if ranlose = 5 then print OALIAS' devastates your entire drive!'
- oxper = oxper + oldmegs*1000
- Omoney = Omoney + MONEY%2
- money = money - MONEY%2
-
- if ttyp > ottyp then do
- ottyp = ttyp
- if ttyp > 1 then ttyp = ttyp - 1
- if ttyp < 1 then ttyp = 1
- end
- if drty > odrtyp then do
- odrtyp = drty
- if drty > 1 then drty = drty - 1
- if drty < 1 then drty = 1
- end
- if SCA >= 1 then do
- OSCA = OSCA + SCA
- SCA = SCA%2
- if SCA <=1 then SCA = 0
- end
- if TROJ >= 1 then do
- OTROJ = OTROJ + TROJ
- TROJ = TROJ %2
- if TROJ <=1 then TROJ = 0
- end
- if BW >= 1 then do
- OBW = BW + OBW
- BW = BW %2
- if BW <=1 then BW = 0
- end
- otwin = otwin + 1
- TOTALLOSS = TOTALLOSS + 1
- call WRITEHIM
- end
- end
-
- if OTOHIT >= ottyp+1 then do
- ranmess = random(1,5,time('s'))
- if ranmess = 1 then print 'He doesnt do anything!'
- if ranmess = 2 then print 'You out witted him!'
- if ranmess = 3 then print 'Nothing happens to you!'
- if ranmess = 4 then print 'Your drive is safe this time!'
- if ranmess = 5 then print 'Your drive is safe this time!'
- end
- prompt 20 'NORMAL' RETURN
- call HACKHIM
- end
-
-
-
- WRITEHIM:
- olfght = ALIAS
- call open file, (play''ONAME),'W'
- call saveostats
- call close file
- LASTFIGHT = OALIAS
- call open file, (play''NAME), 'W'
- call savestats
- call close file
- print "";prompt 20 'NORMAL' RETURN;print;print;print 'Exiting Hacker combat..';print
- call MAIN
-
- HAA:
- sendfile misc'sys.haa'
- print;prompt 20 'NORMAL' ' [HAA Main]: '
- ANS = upper(result);call NC
-
- if ANS='Q' | ans='8' | ans='CD /' then do;print 'Disconnecting..';call MAIN;end
-
- if ans = '1' then call fixdrive
-
- if ans = '2' then do
- if money <= 0 then do
- print;print 'You need money first!!';print
- prompt 20 'NORMAL' RETURN;call HAA
- end
- call CREDITCARDS
- end
-
- if ANS = '3' then do
- sendfile misc'sys.terminal'
- print;print 'You are currently using 'tnm' and have $'money'.';print
- prompt 20 'NORMAL' 'Terminals (S=Sell, Q=Quit)? ';ANS=upper(result);call NC
- if ans = ttyp then do
- print;print 'You are already using 'tnm'!'
- prompt 20 'NORMAL' RETURN;call HAA
- end
- if ans = 'Q' | ans = '' then call HAA
- if ans = 'S' then do
- if ttyp=1 then do;print;print 'You have the worst term! Selling not possible.';print;call haa;end
- ans=ttyp;call termcost;print;print 'The HAA will give you $'cost/2' for your 'tnm'.'
- send 'Do you still wish to sell it? (y/N) ';getchar;ans=result
- if ans ~='Y' then call haa;print 'Sold.';money=money+(cost/2);ttyp=1;call conversion;call haa
- end
- if ans = '1' | ans < ttyp then do
- if ans = ttyp then print '';print 'You already have that!'
- if ans < ttyp then print '';print 'That is a worse terminal than what you have!'
- print "";prompt 20 'NORMAL' RETURN
- call HAA
- end
- if ans > 1 & ans < 10 then do
- call termcost
-
- if money < cost then do
- print;print 'You do not have enough money!'
- print ''
- prompt 20 'NORMAL' RETURN
- call HAA
- end
- money = money - cost
- bankmoney = bankmoney + cost
- ttyp = ans;call conversion
- print;print ''tnm' bought for the price of $'cost'.';print
- prompt 20 'NORMAL' RETURN
- end
- call HAA
- end
-
- if ans = '4' then do
- sendfile misc'sys.hardware'
- print;print 'You are currently using a 'drivename' and have $'money'.'
- print;prompt 20 'NORMAL' 'Hardware (S=Sell, Q=Quit)? '
- ANS=upper(result);call NC
- if ans='S' then do
- if drty=1 then do;print;print 'You are using the worst backup method! Selling not possible.';print;call haa;end
- ans=drty;call hardcost;print;print 'The HAA will give you $'cost/2' for your 'drivename'.'
- send 'Do you still wish to sell it? (y/N) ';getchar;ans=result
- if ans ~='Y' then call main;print 'Sold.';money=money+(cost/2);drty=1;call conversion;call haa
- end
- if ans = drty then do
- print;print 'You are already using 'drivename'!';print
- prompt 20 'NORMAL' RETURN;call HAA
- end
- if ans = 'Q' | ans = '' then call HAA
- if ans = '1' | ans < drty then do
- if ans = ttyp then print;print 'You already have that!'
- if ans < ttyp then print;print 'That backup is worse than what you have!'
- print ''
- prompt 20 'NORMAL' RETURN
- call HAA
- end
- if ans >= 2 & ans <= 7 then do
- call hardcost
- end
-
- if money < cost then do
- print
- print 'You do not have enough money!';print
- prompt 20 'NORMAL' RETURN;call HAA
- end
-
- money = money - cost;bankmoney = bankmoney + cost
- drty = ans;call conversion
- print;print ''drivename' Backup bought for the price of $'cost'!';print
- prompt 20 'NORMAL' RETURN
- call HAA
- end
-
- if ans = '5' then do
- sendfile misc'sys.virus'
- print;print 'You have $'money'.00';print
- prompt 20 'NORMAL' 'Viruses (Q=Quit)? ';ANS=upper(result);call NC
- if ans = 'Q' | ans = '' then call HAA
- if ans = 1 then cost = 100;if ans = 2 then cost = 1000
- if ans = 3 then cost = 2500
- if money < cost then do
- print;print 'You do not have enough money'
- print;prompt 20 'NORMAL' RETURN;call HAA
- end
- if ans = 1 then virusbought = 'Byte Warrior'
- if ans = 2 then virusbought = 'SCA';if ans = 3 then virusbought = 'Trojan'
-
- print;prompt 20 'NORMAL' 'Buy how many? '
- numbought = upper(result);call NC
- if numbought = '' | numbought ~< 99 then call HAA
-
- if money < numbought * cost then do
- print;print 'You do not have enough money!';print
- prompt 20 'NORMAL' RETURN;call HAA
- end
- totalcost = numbought * cost
- if numbought > 1 then print;print ''numbought' 'virusbought's bought for $'totalcost'.'
-
- if ans = 1 then BW = BW + NUMBOUGHT
- if ans = 2 then SCA = SCA + NUMBOUGHT
- if ans = 3 then TROJ = TROJ + NUMBOUGHT
- money = money - totalcost
- bankmoney = bankmoney + totalcost
- print ""
- prompt 20 'NORMAL' RETURN;call HAA
- end
-
- if ans = '6' then do
- cls;print;print 'Gambling is a bad habit! You have a 50% chance of losing!';print
- print ' Gamble how much money ( to quit)?'
- prompt 20 'NORMAL' '> ';ANS=upper(result);call NC
- if ANS = 0 | ANS='Q' | ANS='' then call HAA
- if ANS > MONEY then do
- print 'Not enough money..';print
- prompt 20 'NORMAL' RETURN;call HAA
- end
- RANWIN = RANDOM(1,2,time('s'))
- if RANWIN = 1 then do
- print ''
- ranmess = random(1,3,time('s'))
- if ranmess = 1 then print 'You are a loser!'
- if ranmess = 2 then print 'What a waste of money!'
- if ranmess = 3 then print 'You would do lousy in Vegas!'
- MONEY = MONEY - ANS
- bankmoney = bankmoney + ans
- print ''
- prompt 20 'NORMAL' RETURN;call HAA
- end
- print ''
- if ANS <= 1000 then do
- MONEY = MONEY + (ANS * 2)
- bankmoney = bankmoney - ans*2
- print 'You won $'ANS*2' What luck!'
- end
- if ANS > 1000 then do
- print 'You won $'ANS*2'! Outstanding!'
- MONEY = MONEY + (ANS * 2)
- bankmoney = bankmoney - ans*2
- end
- print ''
- prompt 20 'NORMAL' RETURN;call HAA
- END
- if ans = '7' then do;call wardial;call haa;end
- if ans = '?' then do
- call HAA
- end
-
- FIXDRIVE:
- if ans='1' then do;tofixcost = level*5;maxmegs = level * 10
- canfix = maxmegs - megs;if megs = maxmegs then do
- print 'Your hard drive isn''t damaged.'
- print ''
- prompt 20 'NORMAL' RETURN;call HAA
- end
- if MONEY <=0 & savings < 100 then do
- print;print;print 'You are out of money! You are given $100 from the HAA.'
- money = money + 100;bankmoney = bankmoney - 100
- end
- print;print;print 'You have 'canfix' megabytes of damage.'
- print 'Repair costs run $'tofixcost' per meg to fix.'
- print;prompt 20 'NORMAL' 'Fix how many? '
- tofix = upper(result);call NC
- if tofix > maxmegs | tofix > canfix then do
- print;print 'You don''t even have that big of a hard drive.';print
- prompt 20 'NORMAL' RETURN;call HAA
- end
- if tofix = '' then call HAA
- if tofix = '###PANIC' then call QUICKEXIT
- if money < tofixcost*tofix then do
- print;print 'Not enough money';print
- prompt 20 'NORMAL' RETURN;call HAA
- end
- megs = megs + tofix;money = money - tofixcost*tofix
- bankmoney = bankmoney + tofixcost*tofix
- print;print ''tofix' megs repaired at a total cost of $'tofixcost*tofix'.'
- prompt 20 'NORMAL' RETURN;call HAA
- END
- call HAA
-
- CREDITCARDS:
- if thecard > 10 then do;print;print 'You''ve hacked enough cards today.';call haa;end
- print 'Credit Cards';cls;print 'Hacking credit cards is dangerous but if you succeed you can get a large'
- print 'sum of money. There are several different cards which you can hack.';print
- print '[H]ack a card [L]ist Credit Cards to hack';print '[Q]uit to HAA'
- print;prompt 20 'NORMAL' '[Cards> '
- ans = upper(result)
- call NC
- if ans = 'Q' | ans='' then call HAA
- if ans = 'H' then do
- print;print ' Hack which card [1-12; 12 being most difficult]'
- print;prompt 20 'NORMAL' '> ';card = upper(result)
- if card <= 0 | card > 12 then do
- print;print 'That card does not exist...';print
- prompt 20 'NORMAL' RETURN
- call CREDITCARDS
- end
- call open file, (misc'rxx.cardconvrt'), 'R';do i = 1 to 15;temp=readln(file);interpret temp;end;call close file
- print;send 'Hacking 'CCARD'... Please hold..';thecard=thecard+1
- cchack = random(1,14,time('s'))
- if cchack < CARD then do
- print 'You are CAUGHT by the FEDS!'
- ranpen = random(1,5,time('s'))
- if ranpen = 1 | ranpen = 2 then do
- print 'You get off easy with a slap on the wrists!';print
- prompt 20 'NORMAL' RETURN;call HAA
- end
- if ranpen = 3 then do
- moneylos = maxwin
- if moneylos > money then moneylos = money
- print;print 'You are caught by the FEDS! They penalize you $'moneylos'!!'
- money = money - moneylos;bankmoney = bankmoney + moneylos
- print;prompt 20 'NORMAL' RETURN;call HAA
- end
- if ranpen = 4 then do
- if xrp > 30000 then do
- print 'The HAA is rather embarassed, they penalize you'
- print '30000 experience points.'
- xrp = xrp - 30000
- print;print 'They formatted your hard drive as well.';print
- megs = 0;prompt 20 'NORMAL' RETURN;call HAA
- end
- xrp = 0
- print 'The HAA is rather embarassed, you are penalized to level 1.'
- print 'Sorry! It will teach you for the future!';print
- xrp = 0;megs = 0;prompt 20 'NORMAL' RETURN;call HAA
- end
- if ranpen = 5 then do
- if money < maxwin then maxwin = money
- print 'The FBI catches you and fines you $'MAXWIN' for your crimes.';print
- money = money - maxwin;bankmoney = bankmoney + maxwin
- prompt 20 'NORMAL' RETURN;call HAA
- end
- end
- print 'You got away with $'maxwin'!';print
- money = money + maxwin;bankmoney = bankmoney - maxwin
- prompt 20 'NORMAL' RETURN;call HAA
- end
-
- if ans = 'L' then do
- sendfile misc'sys.CreditCards'
- prompt 20 'NORMAL' RETURN;call CREDITCARDS
- end
- call HAA
-
- DIAL:
- sendfile misc'sys.dialer'
- print;prompt 20 'NORMAL' '[SYS:Terms ('maxturns-maincounter') > '
- ANS = upper(result);call NC
- if ANS = 'TERM' then do;call turns;call DIALOUT;end
- if ANS = 'DIR' then do
- call DIAL
- end
- if ANS = 'ENDCLI' then call BEXIT
- if ANS = 'Q' | ans = 'QUIT' then call BEXIT
- if (Access = 23) & (ANS = 'ADD') then call AddNumbers
- if ANS = 'CD ROOT' | ans = 'ROOT' | ans = 'CD /' then call MAIN
- if ANS = 'NUMBERS' then do
- call NUMBERLIST;call DIAL
- end
- print;print 'Unknown command.';print
- call DIAL;call BEXIT
-
- DIALOUT:
- if MEGS <= 0 then do
- print;print 'You do not have enough storage to do this. Contact the'
- print 'Hackers Association of America and repair your hard drive.';print
- prompt 20 'NORMAL' RETURN;call DIAL
- end
- CALLINGFLAG = 0;FOUNDFLAG = 0
- print '(SYS:Terms/> [CLI 2]';print '(SYS:Terms/> '
- print tnm' v 1.0 All Rights Reserved'
- WW=0;HAH=0
- print 'Initializing Modem...';print;print 'AT&C1H0E0X1S2=1M1';print;print
- prompt 20 'NORMAL' 'ATDT *70,'
- TODIAL = UPPER(RESULT)
- if todial='' then call dial
- if exists(PHONES'LOCAL') then do
- call open file, (PHONES'LOCAL'), 'R'
- telnum = readln(file)
- do i = 1 to telnum
- locnm.i = readln(file);LOCALNUM.i = readln(file)
- locmg.i = readln(file);locwin.i = readln(file)
- loclos.i = readln(file)
- if LOCALNUM.i = TODIAL then do
- fndnum = TODIAL;fndnm = locnm.i;fndmeg = locmg.i
- fndloss = loclos.i;FOUNDWINS = FOUNDWINS.i;FOUNDLOOP = I
- FOUNDFLAG = 1;CALLINGFLAG = 1
- end
- end
- call close file
-
- if foundflag = 0 then do
- call open file, (PHONES'HAA'), 'R'
- telnum = readln(file)
- do i = 1 to telnum
- locnm.i = readln(file);LOCALNUM.i = readln(file)
- locmg.i = readln(file);locwin.i = readln(file)
- loclos.i = readln(file)
- if LOCALNUM.i = TODIAL then do
- fndnum = TODIAL;fndnm = locnm.i;fndmeg = locmg.i
- fndloss = loclos.i;FOUNDWINS = FOUNDWINS.i
- FOUNDLOOP = I;WW=1;HAH=1;FOUNDFLAG = 1;CALLINGFLAG = 5
- end
- end
- call close file
- end
-
- if foundflag = 0 then do
- call open file, (PHONES'WAR'), 'R'
- telnum = readln(file)
- do i = 1 to telnum
- locnm.i = readln(file);LOCALNUM.i = readln(file)
- locmg.i = readln(file);locwin.i = readln(file)
- loclos.i = readln(file)
- if LOCALNUM.i = TODIAL then do
- fndnum = TODIAL;fndnm = locnm.i;fndmeg = locmg.i
- fndloss = loclos.i;FOUNDWINS = FOUNDWINS.i
- FOUNDLOOP = I;WW=1;FOUNDFLAG = 1;CALLINGFLAG = 4
- end
- end
- call close file
- end
-
- if foundflag = 0 then do
- call open file, (PHONES'MAINFRAMES'), 'R'
- telnum = readln(file)
- do i = 1 to telnum
- locnm.i = readln(file);LOCALNUM.i = readln(file)
- locmg.i = readln(file);locwin.i = readln(file)
- loclos.i = readln(file)
- if LOCALNUM.i = TODIAL then do
- fndnum = TODIAL;fndnm = locnm.i;fndmeg = locmg.i
- fndloss = loclos.i;FOUNDWINS = FOUNDWINS.i
- FOUNDLOOP = I;FOUNDFLAG = 1;CALLINGFLAG = 2
- end
- end
- call close file
- end
-
- if foundflag = 0 then do
- call open file, (PHONES'GOV'), 'R'
- telnum = readln(file)
- do i = 1 to telnum
- locnm.i = readln(file);LOCALNUM.i = readln(file);locmg.i = readln(file)
- locwin.i = readln(file);loclos.i = readln(file)
- if LOCALNUM.i = TODIAL then do
- fndnum = TODIAL;fndnm = locnm.i;fndmeg = locmg.i
- fndloss = loclos.i;FOUNDWINS = FOUNDWINS.i
- FOUNDFLAG = 1;CALLINGFLAG = 3;FOUNDLOOP = I
- end
- end
- call close file
- end
- if FOUNDFLAG = 0 then do
- print;print 'That number is not listed! Try typing ''Numbers'' for a listing'
- print 'of possible numbers to dial.';print;maincounter=maincounter-1
- prompt 20 'NORMAL' RETURN;call DIAL
- end
- if fndmeg > 999 then do;print;print;print 'BBS Over 999 Megs! Error..';call dial;end
- if lastfight=fndnm then do;print;print 'You already hacked that BBS. Try a diferent one.';print;call dial;end
- print;prompt 20 'NORMAL' 'RETURN
- cls;print 'Dialing..'
- print;print 'ATDT *70,'fndnum
- OTHERMEGS = fndmeg
- print '';gaga=random(1,10,time(s));if gaga='1' | gaga = '2' then do;print;print 'BUSY';print;call dial;end
- if gaga='9' | gaga='10' then do;print;print 'NO CARRIER';print;call dial;end
- cls
- if ttyp <= 2 then print 'CONNECT 300';print
- if ttyp >= 3 & ttyp <= 4 then print 'CONNECT 1200';print
- if ttyp >= 5 & ttyp <= 6 then print 'CONNECT 2400';print
- if ttyp >= 7 & ttyp <= 8 then print 'CONNECT 9600';print
- if ttyp >= 9 & ttyp <= 15 then print 'CONNECT 19200';print
-
- if (CALLINGFLAG = 1) | (Callingflag=4) | (CallingFlag=5) then do
- if exists(misc||fndnm) then do;sendfile misc||fndnm;end;else sendfile misc'sys.Generic'
- end
-
- if CALLINGFLAG = 2 then do
- print 'VAX VMS MAINFRAME V5.12';print;print 'Licensed to 'fndnm
- print;print 'Local>_';print;print
- end
-
- if CALLINGFLAG = 3 then do
- print fndnm' computer'
- print 'This is a Goverment restricted area. If you are not authorized log off at'
- print 'once! Federal law prohibits any hacking or piracy anywhere!';print;print
- print 'To login, enter information using this format:'
- print ' [USERNAME] / [PASSWORD#1] / [PASSWORD#2] / [USERID#]';print;print '@>'
- end
-
- print ' ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿'
- print ' ³ Now is your chance! Should you hack or run? ³'
- print ' ³ ³'
- print ' ³ [H]ack ³'
- print ' ³ [R]un ³'
- print ' ³ ³'
- print ' ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ';print
- send 'Choice? '
- getchar;ANS = result
- call NC;if ANS = 'H' then do
- print 'Hack';call FIGHTINIT
- end
- print;print;print '+++';print 'NO CARRIER';print
- call DIAL
-
- FIGHTINIT:
- TFM = left(fndmeg,5);TFN = left(fndnm,20);TYM = left(MEGS,4)
- TBW = left(BW,5);TTR = left(TROJ,5);TSC = left(SCA,5);TMK = left(MK,5)
- cls;print 'You are currently using 'tnm' and use 'DRIVENAME' backup.';print
- print ' His megs: 'TFM' Name: 'TFN
- print 'Your megs: 'tym'';print;flag=1
- if TROJ>0 then do;txt=left('[3] Trojans: 'ttr,51);send txt;flag=flag+1;end
- if SCA>0 then do;txt=left('[4] SCAs: 'TSC,51);if flag=2 then do;print txt;flag=1;end;else do;send txt;flag=flag+1;end;end
- if BW>0 then do;txt=left('[5] Byte Warriors: 'tbw,51);if flag=2 then do;print txt;flag=1;end;else do;send txt;flag=flag+1;end;end
- if MK>0 then print left('[6] Memory Killers:'TMK,51)
- print;print;prompt 20 'NORMAL' ' 1=Line Noise, 2=Normal Hack, Q=Run or enter a Virus number.';print '-> '
- ANS = upper(RESULT)
- if ANS = '?' then do
- call FIGHTINIT
- end
- if ANS = 'Q' | ans = 'D' | ans = '' then call TRYDISC
- if ans = '1' then call HACKEM
- if ans = '2' then call HACKEM
- if ans = '3' then do
- if TROJ <=0 then do
- print 'You have no Trojans!';call FIGHTINIT
- end
- TROJUSED = TROJUSED + 1;TROJ = TROJ - 1;call HACKEM
- end
- if ans = '4' then do
- if SCA <= 0 then do
- print 'You have no SCA Viruses!';call FIGHTINIT
- end
- SCAUSED = SCAUSED + 1;SCA = SCA - 1
- call HACKEM
- end
- if ans = '5' then do
- if BW <= 0 then do
- print 'You have no Byte Warriors!'
- call FIGHTINIT
- end
- BWUSED = BWUSED + 1;BW = BW - 1
- call HACKEM
- end
- if ans = '6' then do
- if MK <= 0 then do
- print 'You have no Memory Killers!'
- call FIGHTINIT
- end
- MKUSED = MKUSED + 1;MK = MK - 1
- call HACKEM
- end
-
-
- if ans = '9' then do
- if xrp > 3000000 then do
- print 'President of the HAA automatic termination.....'
- print 'That computer is totally destroyed, 'ALIAS'!'
- winflag = 0;fndmeg = 0;call WRITEBBS
- end
- print 'Security breach!'
- end
-
- call TRYDISC
-
-
- HACKEM:
- print;call rndc
- if ANS = 1 then send '&^#@G!$KG*&%!@#($&^Yµ¡¤þ¾¼þ«·¾½¼¢tiyuTIYT^*!%#@$ '
- if ANS = 2 then send 'You try to hack at his computer..'
- if ANS = 3 then send 'You try to upload a Trojan..'
- if ANS = 4 then send 'You try to upload an SCA..'
- if ANS = 5 then send 'You try to upload a Byte Warrior..'
- if ANS = 6 then send 'You try to upload a Memory Killer..'
- call rndc
- if ANS = 1 then THRAN = random(1,2,time('s'))
- if ANS = 2 then THRAN = random(1,3,time('s'))
- if ANS = 3 then THRAN = random(1,ttyp,time('s'))
- if ANS = 4 then THRAN = random(1,ttyp,time('s'))
- if ANS = 5 then THRAN = random(1,ttyp,time('s'))
- if ANS = 6 then THRAN = random(1,ttyp,time('s'))
-
- if THRAN <= ttyp then do
- call RANDOMHITMESS
- if ANS = 1 then THdam = random(1,10,time('s'))
- if ANS = 2 then THdam = random(1,15,time('s'))
- if ANS = 3 then do
- THdam = random(1,100,time('s'))
- print 'The Trojan succeeds!'
- end
- if ANS = 4 then do
- THdam = random(1,75,time('s'))
- print 'The SCA messes him up!'
- end
- if ANS = 5 then do
- THdam = random(1,50,time('s'))
- print 'Byte Warrior city on his end!'
- end
- if ANS = 6 then do
- THdam = random(100,200,time('s'))
- print 'The memory killer plasters his drive!'
- end
-
- if THDAM > fndmeg then THDAM = fndmeg
- print thdam' megs of his drive are jelly!'
- fndmeg = fndmeg - THdam
- if fndmeg <= 0 then do
- winflag = 0
- call WRITEBBS
- end
- totmgcr = totmgcr + THDAM
- print
- end
-
- if THRAN > ttyp then do
- if ANS = 1 | ANS = 2 then print 'You fail!'
- if ANS = 3 then do
- print 'The Trojan fails!'
- end
- if ANS = 4 then do
- print 'The SCA fails!'
- end
- if ANS = 5 then do
- print 'The Byte Warrior does not succeed!'
- end
- if ANS = 6 then do
- print 'The Memory Killer does not work!'
- end
- end
- print;call HISTURN
- call rndc;call HISCOMBAT
-
- HISCOMBAT:
- if HEHIT = 0 then do
- print 'He doesnt do anything!'
- call FIGHTINIT
- end
- hisdam = random(1,fndmeg,time('s'))
- if hisdam > megs then hisdam = megs
- print 'He trashes 'hisdam' megs on your computer!'
- megs = megs - hisdam;megslost = megslost + hisdam
- if megs <= 0 then do
- winflag = 1;call WRITEBBS
- end
- call FIGHTINIT
-
-
- TRYDISC:
- print;print 'You try to disconnect...';print
- HIT = random(1,2,time('s'))
- if HIT = 1 then do
- print '+++';print 'NO CARRIER'
- call DIAL
- end
- print 'You fail!';print
- DAM = random(1,fndmeg,time('s'))
- oldmegs = megs
- megs = megs - dam
- if megs < 0 then megs = 0
- if megs = 0 then do
- print 'You are trashed TOTALLY!';print
- megslost = megslost + oldmegs
- end
- if megs > 0 then do
- print 'He did 'DAM' megs of damage!';print
- megslost = megslost + dam
- end
- prompt 20 'NORMAL' RETURN;totalloss = totalloss + 1
- WINFLAG = 1;call WRITEBBS
-
-
- WRITEBBS:
- LASTFIGHT = fndnm
- if winflag = 0 then do
- extrabonus = random(1,3,time('s'))
- if extrabonus = 1 then do
- exbtype = random(1,50,time('s'))
- exbon = exbtype * 1000
- print 'You get a special extra bonus of $'ExBon'!'
- money = money + exbon
- bankmoney = bankmoney - exbon
- end
- moneyfound = random(1,othermegs,time('s'))
- if othermegs > 500 then moneyfound = moneyfound * 2
- findvir = random(1,2,time('s'))
- vir = 'no';numvir = ''
- if findvir = 1 | findvir = 2 then do
- numvir = random(1,5,time('s'))
- virtyp = random(1,4,time('s'))
- if virtyp = 1 then do
- bw = bw + numvir;vir = 'Byte Warrior'
- end
- if virtyp = 2 then do
- troj = troj + numvir;vir = 'Trojan'
- end
- if virtyp = 3 then do
- sca = sca + numvir;vir = 'SCA'
- end
- if virtyp = 4 then do
- numvir = 1;mk = mk + 1;vir = 'Memory Killer'
- end
- end
- TOTALwins = TOTALwins + 1
- if WW=1 then xbns = othermegs*200
- else xbns = othermegs*100
- xrp = xrp + xbns
- money = money + moneyfound;bankmoney = bankmoney - moneyfound
- print;print 'The HAA rewards you with 'xbns' experience points and a cash'
- print 'bonus of $'moneyfound'.'
- print;print 'You also find 'numvir' 'vir' virus(s).'
- end
- if winflag = 1 then do
- TOTALLOSS = TOTALLOSS + 1;print;print 'You lost!'
- end
- print;prompt 20 'NORMAL' RETURN
-
- if CALLINGFLAG = 1 then call open file, (PHONES'LOCAL'), 'R'
- if CALLINGFLAG = 2 then call open file, (PHONES'MAINFRAMES'), 'R'
- if CALLINGFLAG = 3 then call open file, (PHONES'GOV'), 'R'
- if CALLINGFLAG = 4 then call open file, (PHONES'WAR'), 'R'
- if CALLINGFLAG = 5 then call open file, (PHONES'HAA'), 'R'
- telnum = readln(file)
- do i = 1 to telnum
- locnm.i = readln(file);LOCALNUM.i = readln(file)
- locmg.i = readln(file);locwin.i = readln(file)
- loclos.i = readln(file)
- end
- call close file
- locnm.FOUNDLOOP = fndnm;LOCALNUM.FOUNDLOOP = fndnum
- locmg.FOUNDLOOP = OTHERMEGS
- if WINFLAG = 1 then locwin.FOUNDLOOP = locwin.FOUNDLOOP + 1
- if WINFLAG = 0 then loclos.FOUNDLOOP = loclos.FOUNDLOOP + 1
- if CALLINGFLAG = 1 then call open file, (PHONES'LOCAL'), 'R'
- if CALLINGFLAG = 2 then call open file, (PHONES'MAINFRAMES'), 'R'
- if CALLINGFLAG = 3 then call open file, (PHONES'GOV'), 'R'
- if CALLINGFLAG = 4 then call open file, (PHONES'WAR'), 'R'
- if CALLINGFLAG = 5 then call open file, (PHONES'HAA'), 'R'
- call writeln file, TELNUM
- do i = 1 to telnum
- call writeln file, locnm.i;call writeln file, LOCALNUM.i
- call writeln file, locmg.i;call writeln file, locwin.i
- call writeln file, loclos.i
- end
- call close file
- if WINFLAG=0 and HAH=1 then call wingame
- call DIAL
-
- HISTURN:
- if OTHERMEGS < 50 then do
- HHRAN = random(1,5,time('s'))
- end
- if OTHERMEGS < 100 then do
- HHRAN = random(1,4,time('s'))
- end
- if OTHERMEGS < 150 then do
- HHRAN = random(1,3,time('s'))
- end
- if OTHERMEGS < 500 then do
- HHRAN = random(1,2,time('s'))
- end
- if OTHERMEGS < 1000 then do
- HHRAN = random(1,1,time('s'))
- end
- if hhran = 1 then HEHIT = 1
- if hhran > 1 then HEHIT = 0
- RETURN
-
- RANDOMHITMESS:
- RANMESS = random(1,5,time('s'))
- if RANMESS = 1 then do
- print 'You got him!'
- end
- if RANMESS = 2 then do
- print 'You nailed him!'
- end
- if RANMESS = 3 then do
- print 'You fried him!'
- end
- if RANMESS = 4 then do
- print 'He is french toast on that round!'
- end
- if RANMESS = 5 then do
- print 'You can smell burnt chips thru the telephone lines!'
- end
- RETURN
-
- NUMBERLIST:
- cls;print;print 'Listing of:';print
- print 'A. Local Boards Easy';print 'B. Mainframes Moderate';print 'C. Government Computers Hard';print
- send '?] '
- getchar;ANS = RESULT;call nc
- if ANS='A' | ans='' then do
- print 'Local'
- if ~exists(phones'LOCAL') then do
- print 'There is not a local telephone book. Tell the SysOp!';print
- prompt 20 'NORMAL' RETURN
- call DIAL
- end
- call open file, (PHONES'LOCAL'), 'R'
- telnum = readln(file)
- do i = 1 to telnum
- locnm.i = readln(file);LOCALNUM.i = readln(file);locmg.i = readln(file)
- locwin.i = readln(file);loclos.i = readln(FILE)
- end
- call close file
- cls;print 'Megs Number WINS LOSS BBS Name '
- print ' ---- ------ ---- ---- --------'
- phonecount = 0
- do i = 1 to telnum
- phonecount = phonecount + 1
- lnum = left(LOCALNUM.i,15);lmeg = left(locmg.i,10)
- lnam = left(locnm.i,25);lwin = left(locwin.i,10)
- lloss = left(loclos.i,10)
- print ' 'lmeg''lnum''lwin''lloss''lnam
- if phonecount > 20 then do
- prompt 20 'NORMAL' RETURN;phonecount = 0
- print CLS
- end
- end
- print;print 'End of Local BBS List.';print
- prompt 20 'NORMAL' RETURN;call DIAL
- END
-
- if ANS = 'B' then do
- print 'Mainframes'
- if ~exists(phones'MAINFRAMES') then do
- print 'There is not a Mainframe telephone book. Tell the SysOp!';print
- prompt 20 'NORMAL' RETURN;call DIAL
- end
- call open file, (PHONES'MAINFRAMES'), 'R'
- telnum = readln(file)
- do i = 1 to telnum
- MAINFNAME.i = readln(file);MAINFNUM.i = readln(file)
- MAINFMEGS.i = readln(file);MAINFWINS.i = readln(file)
- MAINFLOSS.i = readln(FILE)
- end
- call close file
- print;print 'Megs Number WINS LOSS Mainframe'
- print '---- ------ ---- ---- ---------'
- phonecount = 0
- do i = 1 to telnum
- phonecount = phonecount + 1
- mnum = left(MAINFNUM.i,15);mmeg = left(MAINFMEGS.i,10)
- mnam = left(MAINFNAME.i,25);mwin = left(MAINFWINS.i,10)
- mloss = left(MAINFLOSS.i,10)
- print mmeg''mnum''mwin''mloss''mnam
- if phonecount > 20 then do
- prompt 20 'NORMAL' RETURN;phonecount = 0
- print CLS
- end
- end
- print;print 'End of MainFrame List.';print
- prompt 20 'NORMAL' RETURN;call DIAL
- END
-
- if ANS = 'C' then do
- print 'Government'
- if ~exists(phones'GOV') then do
- print 'There is not a Goverment telephone book. Tell the SysOp!';print
- prompt 20 'NORMAL' RETURN;call DIAL
- end
- call open file, (PHONES'GOV'), 'R'
- telnum = readln(file)
- do i = 1 to telnum
- GOVNAME.i = readln(file);GOVNUM.i = readln(file)
- GOVMEGS.i = readln(file);GOVWINS.i = readln(file)
- GOVLOSS.i = readln(FILE)
- end
- call close file
- print;print 'Megs Number WINS LOSS Government Computer'
- print '---- ------ ---- ---- -------------------'
- phonecount = 0
- do i = 1 to telnum
- phonecount = phonecount + 1
- gnum = left(GOVNUM.i,15);gmeg = left(GOVMEGS.i,10)
- gnam = left(GOVNAME.i,25);gwin = left(GOVWINS.i,10)
- gloss = left(GOVLOSS.i,10)
- print gmeg''gnum''gwin''gloss''gnam
- if phonecount > 20 then do
- prompt 20 'NORMAL' RETURN;phonecount = 0;print CLS
- end
- end
- print;print 'End of Goverment List.';print
- prompt 20 'NORMAL' RETURN;call DIAL
- END
- print 'What?'
- RETURN
-
-
- CONVERSION:
- call open file, (misc'rxx.levconvert'), 'R';boom=0;do until boom=1
- temp=readln(file);interpret temp;end;call close file
- RETURN
-
- OCONVERSION:
- call open file, (misc'rxx.oconvert'), 'R';boom=0;do until boom=1
- temp=readln(file);interpret temp;end;call close file
- RETURN
-
- OCONVERSION2:
- call open file, (misc'rxx.oconvert2'), 'R';boom=0;do until boom=1
- temp=readln(file);interpret temp;end;call close file
- RETURN
-
- MENU:
- call open file, (misc'rxx.maindir'), 'R';boom=0;do until boom=1;fart=readln(file)
- interpret fart;end;call close file;return
-
- SENDMESS:
- cls;print 'Send a user a message:';print
- txt='Send a message to';call listusers;if toget='###' then call main
- print;print 'Please enter up to 3 lines of transmissions:'
- print 'Hit RETURN(s) when your are done sending your message.';print
- print 'This is your margin:';print
- print ':----:----:----:----:----:----:----:----:----:----:----:----:----:----:----:'
- do i = 1 to 3
- call rndc
- prompt 20 'NORMAL' '';ans=result
- line.i=left(ans,77)
- end
- print;send 'Send the above message? (y/N)? '
- getchar;ans = result;call nc
- if ans ~= 'N' then send 'Yes';else do;print 'No.';call MAIN;end
- call mailmessage;print 'Sent.';call MAIN
-
- USERLIST:
- cls;print ' Users currently playing Hacker:';print
- call open file, (play'ALIASES'), 'R'
- do i = 1 to TOTALUSERS
- tempa = readln(file);tempb = readln(file);temp=i'.'
- if access ~=23 then lala='';else lala='('tempb')'
- print ''left(temp,3)' 'tempa' 'lala
- end
- call close file
- print;prompt 20 'NORMAL' ''RETURN
- bg=1;call top
- RETURN
-
- YOURSTATS:
- TEX = left(xrp,20);TMO = left(MONEY,10);TDT = left(drty,10)
- TTT = left(ttyp,10);TST = left(MEGS,10);TSC = left(SCA,10)
- TBW = left(BW,10);TTR = left(TROJ,10);UTR = left(TROJUSED,10)
- UBW = left(BWUSED,10);USC = left(SCAUSED,10);UMK = left(MKUSED,10)
- TMK = left(MK,10);TLN = left(LEVNAME,25);tlv = left(LEVEL,10)
- cls;print;print 'Stats for 'name', Alias "'alias'":';print
- print ' Money: $'TMO' Experience: 'TEX
- print ' Level: 'tlv' Level Name: 'TLN
- print 'Drivetype: 'TDT' Terminal: 'TTT
- print ' Storage: 'TST'MB Lost/Crashed: 'megslost'/'totmgcr
- print;print ' Virus Statistics:';print
- print ' SCAs: 'TSC' Used: 'USC
- print ' Byte Warriors: 'TBW' Used: 'UBW
- print ' Trojans: 'TTR' Used: 'UTR
- print 'Memory Killers: 'TMK' Used: 'UMK
- print;prompt 20 'NORMAL' ''RETURN
- LFI = left(LASTFIGHT,20);TPL = left(TOTALPLAYS,20);TWI = left(TOTALWINS,20)
- TLO = left(TOTALLOSS,20)
- cls;print ' WIN/LOSS/PLAY Statistics:';print
- print ' Total Plays: 'TPL
- print ' Total Wins: 'TWI
- print ' Total Losses: 'TLO;print
- prompt 20 'NORMAL' RETURN
- RETURN
-
-
- RndC: /* Random Color Generator */
- color = random(1,7,time('s'));send ''
- RETURN
-
- SPY:
- cls;print 'Spy on another user:';print;txt='Spy on';call listusers
- call NC;if toget='###' then call main;call open file, (play''toget), 'R'
- call readostats;call close file
- call OCONVERSION2
- print;print 'It will cost you $'OLEVEL*100' to spy on that person.'
- costtospy = OLEVEL *100
- if money < costtospy then do
- print;print 'You do not have enough money!';print
- prompt 20 'NORMAL' RETURN;call MAIN
- end
- send 'Spy on him? (y/N) ';getchar;SPYANS = result
- call NC;if spyans ~= 'Y' then call main
- OTEX = left(oxper,20);OTMO = left(OMONEY,10);OTDT = left(odrtyp,10)
- OTST = left(OMEGS,10);OTML = left(omlst,10);OTSC = left(OSCA,10);OTBW = left(OBW,10)
- OUBW = left(OBWUSED,10);OUSC = left(OSCAUSED,10);OTMK = left(OMK,10)
- Otlv = left(OLEVEL,10)
- cls;print 'Stats for 'Oalias':'
- print ' Money: $'OTMO' Experience: 'Oxper
- print ' Level: 'Otlv' Level Name: 'Olevname
- print 'Drivetype: 'OTDT' Terminal: 'Ottyp
- print ' Storage: 'OTST' Megs lost: 'OTML' Megs Crashed: 'Otmcr
- print ' SCAs: 'OTSC' Byte Warriors: 'OTBW' Trojans: 'otroj
- print 'SCAs used: 'OUSC' BWs Used: 'OUBW' Trojans Used: 'otrojused
- print ' Mem Kill: 'OTMK' MKs Used: 'Omkused;print
- print ' Win/Loss/Play Statistics:';print
- print ' Total Plays: 'Otpl
- print ' Total Wins: 'Otwin
- print 'Total Losses: 'OTloss
- print ' Last Play: 'Odate
- print
- prompt 20 'NORMAL' RETURN
- money = money - olevel*200
- stor=alias;alias='Hacker v4.5';line.1=stor' Spied on you!';line.2='';line.3=''
- call mailmessage;alias=stor;call MAIN
-
- TOP:
- if bg = 1 then print;print 'Sorting players...'
- call open file, (play'REALNAMES'), 'R'
- do i = 1 to TOTALUSERS
- REALname.i = readln(file)
- end
- call close file
-
- do i = 1 to totalusers
- call open file, (play''REALNAME.i), 'R'
- OALIAS.i = readln(file);OMONEY.i = readln(file)
- OMEGS.i = readln(file);OSCA.i = readln(file)
- OBW.i = readln(file);OTROJ.i = readln(file)
- odrtyp.i = readln(file);ottyp.i = readln(file)
- oxper.i = readln(file);olfght.i = readln(file)
- ODATE.i = readln(file);otpl.i = readln(file)
- otmcr.i = readln(file);otwin.i = readln(file)
- otloss.i = readln(file);omlst.i = readln(file)
- OBWUSED.i = readln(file);OTROJUSED.i = readln(file)
- OSCAUSED.i = readln(file);OMKUSED.i = readln(file)
- OMK.i = readln(file);call close file
- END
-
- n = totalusers-1;o = totalusers-1
- do i = 1 to n
- do j = 1 to o
- q = j + 1
- if oxper.q > oxper.j then do
- temp = oxper.j;tempname = OALIAS.j
- oxper.j = oxper.q;OALIAS.j = OALIAS.q;oxper.q = temp;OALIAS.q = tempname
- end
- end
- end
- call open nfile, (play''Top15), 'W'
- call writeln nfile,''
- call writeln nfile,'Top 15 Hackers:'
- call writeln nfile,''
- call writeln nfile,' # Alias Experience Level'
- toloop = 15
- if totalusers < toloop then toloop = totalusers
- DO I = 1 to toloop
- call OCONVERSION;OALIAS = left(OALIAS.i,25)
- OEXP = left(oxper.i,15);OLEVNAME = left(OLEVNAME,30);temp=i'.'
- call writeln nfile,' 'left(temp,3)' 'OALIAS''OEXP''OLEVNAME
- end
- call close nfile
- if bg = 1 then do; sendfile play''top15
- print;prompt 20 'NORMAL' RETURN;end
- bg = 0
- return
-
- BANK:
- pmo = left(money,23);psa = left(savings,22);bmo = left(bankmoney,20)
- cls;print ' ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿'
- print ' ³ Pocket Money Savings Account Bank Money ³'
- print ' ³ $'pmo'$'psa'$'bmo'³'
- print ' ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ'
- sendfile misc'sys.bank'
- send '-> ';getchar;ans=result;if ans='#' then call quickexit
- if ans = 'E' then do;print 'Exit';call MAIN;end
- if ans = 'D' then do
- if money <=0 then do
- print 'Deposit';print;print 'You are holding no money!';print
- prompt 20 'NORMAL' RETURN
- call MAIN
- end
- prompt 20 'NORMAL' 'Desposit.';print;print 'Deposit how much (Q=Quit)? $'
- ans = result;call NC
- if ans > money then do
- print;print 'You do not have that much!';print;prompt 20 'NORMAL' RETURN;call MAIN
- end
- if ans = '' then call MAIN
- money = money - ans;savings = savings + ans
- call open file, (BNK''NAME), 'W';call writeln file, SAVINGS;call close file
- print;print '$'ANS' deposited. You now have $'SAVINGS' in your savings account, and $'money
- print 'in your pocket.';print;prompt 20 'NORMAL' RETURN;call MAIN
- end
-
- if ans = 'W' then do
- if ~exists(BNK''NAME) then do
- print 'Withdraw.';print;print 'You have no Savings Account.';print
- prompt 20 'NORMAL' RETURN;call MAIN;end
- prompt 20 'NORMAL' 'Withdraw.';print;print 'Withdraw how much (Q=Quit)? $'
- ANS = result;call NC
- if ans = '' | ans = 'Q' | ans = 'q' then call MAIN;if ans > savings then do
- print;print 'Not enough in account.';print;prompt 20 'NORMAL' RETURN;call MAIN;end
- money = money + ans;savings = savings - ans
- call open file, (BNK''NAME), 'W';call writeln file, SAVINGS;call close file
- print;print '$'ans' withdrawn. You now have $'money'.';print
- prompt 20 'NORMAL' RETURN;call MAIN;end;call MAIN;end
-
- NC:
- GETCARRIER;carrier = result;if carrier=='FALSE' then call bexit
- if maincounter >= MAXTURNS then do
- print;print 'You are out of turns for this call. Try tomorrow.';print
- prompt 20 'NORMAL' RETURN;call BEXIT;end
- if storage() < minbyte then do;print;print 'Memory running low! Exiting game..'
- sysoplog 'Hacker 4.5 ran low on memory!';call bexit2;end;return
-
- BEXIT:
- print 'Process 4 ending';print 'endcli';print;print 'Saving your stats..'
- call top
- BEXIT2:
- call open file, (BNK'MONBANK'), 'W';call writeln file, BANKMONEY;call close file
- TOTALPLAYS = TOTALPLAYS + 1
- logentry ''name' played Hacker v4.5'
- call open file, (play''NAME), 'W'
- call savestats;call close file;bufferflush
- print;print;print 'Hacker v4.0 - Originaly by Patrick Baker, modified by The Brazilian'
- print 'Hacker v4.5 - Modified by Diamond Back for the FLIPSIDE (305)596-6711'
- print 'Converted for Cyberlink by Instigist. Snakes Pit (310)863-3754!'
- exit
-
-
- TERMCOST: /* Used to determine how much terminals cost */
- if ans = 2 then cost = 1000;if ans = 3 then cost = 10000
- if ans = 4 then cost = 50000;if ans = 5 then cost = 100000
- if ans = 6 then cost = 200000;if ans = 7 then cost = 500000
- if ans = 8 then cost = 1000000;if ans = 9 then cost = 200000
- return
-
- HARDCOST: /* Used to determine how much hardware costs */
- if ans = 2 then cost = 1000;if ans = 3 then cost = 10000
- if ans = 4 then cost = 50000;if ans = 5 then cost = 100000
- if ans = 6 then cost = 150000;if ans = 7 then cost = 200000
- return
-
- READSTATS:
- ALIAS = readln(file);MONEY = readln(file);MEGS = readln(file)
- SCA = readln(file);BW = readln(file);TROJ = readln(file);drty = readln(file)
- ttyp = readln(file);xrp = readln(file);LASTFIGHT = readln(file);DATE = readln(file)
- TOTALPLAYS = readln(file);totmgcr = readln(file);TOTALWINS = readln(file)
- TOTALLOSS = readln(file);MEGSLOST = readln(file);BWUSED = readln(file)
- TROJUSED = readln(file);SCAUSED = readln(file);MKUSED = readln(file)
- MK = readln(file);LASTDPLAYED = readln(file);MAINCOUNTER = readln(file)
- WD = readln(file)
- return
-
- SAVESTATS:
- call writeln file,ALIAS;call writeln file,MONEY
- call writeln file,MEGS;call writeln file,SCA;call writeln file,BW
- call writeln file,TROJ;call writeln file,drty;call writeln file,ttyp
- call writeln file,xrp;call writeln file,LASTFIGHT;call writeln file,NEWDATE
- call writeln file,TOTALPLAYS;call writeln file,totmgcr;call writeln file,TOTALWINS
- call writeln file,TOTALLOSS;call writeln file,MEGSLOST;call writeln file,BWUSED
- call writeln file,TROJUSED;call writeln file,SCAUSED;call writeln file,MKUSED
- call writeln file,MK; call writeln file,DATEONLY; call writeln file,MAINCOUNTER
- call writeln file,WD
- return
-
- SAVEOSTATS:
- call writeln file, OALIAS;call writeln file, OMONEY;call writeln file, OMEGS
- call writeln file, OSCA;call writeln file, OBW;call writeln file, OTROJ
- call writeln file, odrtyp;call writeln file, ottyp;call writeln file, oxper
- call writeln file, olfght;call writeln file, ODATE;call writeln file, otpl
- call writeln file, otmcr;call writeln file, otwin;call writeln file, otloss
- call writeln file, omlst;call writeln file, OBWUSED;call writeln file, OTROJUSED
- call writeln file, OSCAUSED;call writeln file, OMKUSED;call writeln file, OMK
- call writeln file, OLASTDPLAYED; call writeln file, OMAINCOUNTER;
- call writeln file, OWD
- return
-
- READOSTATS:
- OALIAS = readln(file);OMONEY = readln(file);OMEGS = readln(file)
- OSCA = readln(file);OBW = readln(file);OTROJ = readln(file)
- odrtyp = readln(file);ottyp = readln(file);oxper = readln(file)
- olfght = readln(file);ODATE = readln(file);otpl = readln(file)
- otmcr = readln(file);otwin = readln(file);otloss = readln(file)
- omlst = readln(file);OBWUSED = readln(file);OTROJUSED = readln(file)
- OSCAUSED = readln(file);OMKUSED = readln(file);OMK = readln(file)
- OLASTDPLAYED = readln(file); OMAINCOUNTER = readln(file)
- OWD = readln(file)
- return
-
- MAILMESSAGE:
- if ~exists(mess''toget) then do;call open file, (mess''toget), 'W'
- call writeln file, '0';call close file;end
- call open file, (MESS''toget), 'R'
- newflag = readln(file)
- do i = 1 to newflag;do x = 1 to 4;dat.i.x=readln(file);end;end;call close file
- call open file, (mess''toget), 'W'
- newflag=newflag+1;call writeln file, newflag
- do i = 1 to newflag-1;do x = 1 to 4;call writeln file, dat.i.x;end;end
- call writeln file, alias
- do i = 1 to 3;call writeln file, line.i;end;call close file
- return
-
- TOPTENSAVE:
- if ~exists(play'last10') then do;call open file, (play'last10'),'W'
- do i = 1 to 10;call writeln file, ' ---- ';end;call close file;end
- call open file, (play'last10'), 'R';do i = 1 to 10;temp.i=readln(file);end
- call close file;call open file, (play'last10'), 'W';call writeln file, txt
- do i = 1 to 9;call writeln file, temp.i;end;call close file;return
-
- LISTUSERS:
- call open file, (play'Aliases'), 'R';flag=0;do i=1 to totalusers
- tempa.i=readln(file);tempb.i=readln(file);flag=flag+1
- if flag=2 then do;print ''left(i,2)'. 'tempa.i;flag=0;end
- else send ''left(i,2)'. 'left(tempa.i,35);end
- if flag=1 then print;call close file
- print;send ''txt' whom? (Q=Quit) : '
- bufferflush;if totalusers >= 10 then do;getchar;ja=result;send ja
- getchar;jaja=result;send ''
- if c2d(jaja)=13 then ans=ja;else ans=ja||jaja;end;else do;getchar;ans=result;end
- if ans='Q' then do;print 'Aborted.';toget='###';return;end
- if tempa.ans=alias then do;print 'Thats you!';toget='###';return;end
- if ans > totalusers | ans <= 0 then do;print 'Invalid user.';toget='###';return;end
- print tempa.ans;toget=tempb.ans;return
-
-
- QUICKEXIT:
- bufferflush
- exit
-
- ERROR:
- print;print 'An error has occured in the game.. Exiting..'
- sysoplog 'Error in Hacker, line 'sigl'.. Please contact'
- sysoplog 'Diamond Back at (305)595-6711, data.'
- exit
-
- SYNTAX:
- print;print 'An error has occured in the game.. Exiting..'
- logentry 'Syntax error in Hacker, line 'sigl'.. Please contact'
- logentry 'Diamond Back at (305)596-6711, data.'
- exit
-
- IOERR:
- print;print 'An error has occured in the game.. Exiting..'
- logentry 'I/O Error in Hacker, line 'sigl'.. Please contact'
- logentry 'Diamond Back at (305)596-6711, data.'
- exit
-
- HALT:
- print;print 'ARexx HALT issued by the sysop - Shutting down..'
- call bexit2
-
- TURNS:
- MAINCOUNTER=MAINCOUNTER+1
- If MAINCOUNTER > MAXTURNS then do
- print;print "You're out of turns for today!';print 'Try again tommorow!";print
- prompt 20 'NORMAL' RETURN
- call BEXIT
- end
- return
- GETDATE:
- DateOnly=right(DATE,18)
- DateOnly=left(DateOnly,11)
- return
- CHECKLPLAY:
- If Access = 23 Then do; MainCounter = 0; return; end
- If DATEONLY ~= LASTDPLAYED then do;Maincounter=0;return;end
- If Maincounter > Maxturns then do;cls;print 'Sorry, you have used up all your turns for today.Try again tommorrow.';print;print
- call QUICKEXIT;end
- return
- AddNumbers:
- if access ~= 23 then call dial
- print cls
- sendfile misc||'AddNumber.Menu'
- send 'Enter Number: ';getchar
- ans=upper(result);print ans
- call nc
- if ans = 'Q' then call dial
- else if ans = '1' then numfile = 'local'
- else if ans = '2' then numfile = 'mainframe'
- else if ans = '3' then numfile = 'gov'
- else if ans = '4' then numfile = 'war'
- else call addnumbers
- if ~exists(phones''numfile) then do
- open nfile,(phones''numfile), 'W'
- writeln nfile,'1'
- mnx=1
- end
- else do
- call open nfile, (phones''numfile), 'R'
- telnum=readln(nfile)
- do i=1 to telnum
- locnm.i=readln(nfile)
- localnum.i=readln(nfile)
- locmg.i=readln(nfile)
- locwin.i=readln(nfile)
- locloss.i=readln(nfile)
- end
- call close nfile
- call open nfile, (phones''numfile), 'W'
- telnum=telnum+1
- call writeln nfile, telnum
- end
- print CLS
- prompt 20 'NORMAL' 'Enter the name: '
- locnm.telnum=result
- call nc
- prompt 20 'NORMAL' 'Enter the number: '
- localnum.telnum=result
- call nc
- prompt 20 'NORMAL' 'Enter the storage in Megs: '
- locmg.telnum=result
- call nc
- locwin.telnum=0
- locloss.telnum=0
- do i=1 to telnum
- call writeln nfile,locnm.i
- call writeln nfile,localnum.i
- call writeln nfile,locmg.i
- call writeln nfile,locwin.i
- call writeln nfile,locloss.i
- end
- call close nfile
- call dial
- WARDIAL:
- print CLS
- If WD=1 then do
- print 'WarDialer is already running!'
- return
- end
- sendfile misc'wardial.txt'
- print;send 'Run wardialer? '
- getchar
- ans=upper(result)
- if ans ~= 'Y' then return
- print 'Yes'
- if money<10000 then do
- print 'You can''t afford it.'
- return
- end
- wd=1
- if access ~= 23 then money=money-10000
- print;print;print 'Wardialer should have results ready by tommorrow.'
- print 'Thank you for using Global WarDialer v1.0'
- call turns
- return
- CHECKWARDIAL:
- If (WD ~= 1) | ((Access ~= 23) & (Dateonly = LastDPlayed)) then return
- cls;print 'Checking WarDialer Results...'
- call open file, (phones''war), 'R'
- wnum=readln(file)
- do i=1 to wnum
- locnm.i=readln(file)
- localnum.i=readln(file)
- locmg.i=readln(file)
- locwin.i=readln(file)
- locloss.i=readln(file)
- end
- call close file
- call open file, (phones''HAA), 'R'
- blah=readln(file)
- locnm.0=readln(file)
- localnum.0=readln(file)
- locmg.0=readln(file)
- call close file
- do
- wfnd=random(0,wnum%8, time('s'))
- If wfnd = 0 then do
- print;print 'You found no numbers this time!'
- wd=0
- return
- end
- do i=1 to wfnd
- fndw=random(0,(wnum+2),time('s'))
- if fndw=wnum+1 || fndw=wnum+2 then fndw=0
- do j=1 to i-1
- if fndw=wn.j then i=i-1
- end
- wn.i=fndw
- end
- print;print 'You found these numbers... Write them down!'
- do i=1 to wfnd
- k=wn.i
- print 'Name:['||locnm.k'] Phone Number:['||localnum.k'] Storage:['||locmg.k' Megs]'
- end
- print;print 'Hit Any Key to Continue '
- getchar
- WD=0
- return
- GENERATEHAA:
- call open file, (phones'HAA'), 'W'
- call writeln file,'1'
- call writeln file,'Hackers Assoc. of America'
- do i=1 to 7;n.i=random(0,9,time('s'));end
- call writeln file,'619'||n.1||n.2||n.3||n.4||n.5||n.6||n.7
- call writeln file,'999';call writeln file,'0';call writeln file,'0'
- call close file
- do i=1 to 7;drop n.i;end
- return
- WINGAME:
- logentry '-=>' REALNAME' won Hacker4.5!!! <=-'
- if exists(misc'sys.win') then sendfile misc||'sys.win'
- if ~exists(misc'winners') then do
- call open file, (misc'winners'), 'W'
- call writeln file,'=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='
- call writeln file,'- The Legendary Hacker Hall of Fame -'
- call writeln file,'=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='
- call writeln file,''
- end
- Else call open file,(misc'winners'), 'A'
- call Writeln File, 'Name:'||Alias' EXP:'||xrp' Date:'||dateonly
- call close file
- print ''
- call generatehaa
- address command 'delete' play'#?'
- address command 'delete' mess'#?'
- address command 'delete' bnk'#?'
- call quickexit
- return
- SCAN:
- j=0;sendfile misc'sys.scanner'
- send 'Do you wish to do a fight scan? '
- getchar;ans=upper(result)
- if ans ~= 'Y' then return
- print 'Yes';print
- if (money < 15000) & (access ~= 23) then do;print;print 'You can not afford it!';print;return;end
- if access ~= 23 then money=money-15000
- call open file, (play'Aliases'), 'R'
- do i=1 to totalusers
- tempa=readln(file);tempb=readln(file)
- call open nfile, (play''tempb), 'R'
- oalias=readln(nfile);omoney=readln(nfile);omegs=readln(nfile)
- if (omegs > 0) & (oalias ~= alias) then do;j=j+1;print ''||j')' oalias;end
- call close nfile
- end
- call close file
- if j=0 then print 'Everyone is trashed!';print
- else print 'End of scan.';print
- return
-
-